package com.hanko.oauth.controller;

import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController

public class IndexController {
    @RequestMapping("/index")
//    @PreAuthorize("hasAnyRole('ROLE_ADMIN')")
    public String index() {
        return "Welcome!";
    }
}